<template>
	<view class="page">
		<!-- search -->
		<view class=""
			style="display: flex;flex-direction: row;align-items: center;padding: 12px;background-color: #FFFFFF;">
			<view class="" @click="popBack()">
				<text class="iconfont icon-arrow-left" style="font-size: 16px;font-weight: bold;"></text>
				<text style="font-size: 16px;">商机管理</text>
			</view>
			<view
				style="margin-left: 12px;flex: 1;display: flex;align-items: center;flex-direction: row;background-color: #F1F1F1;height: 30px;border-radius: 15px;">
				<text class="iconfont icon-sousuo"
					style="font-size: 16px;font-weight: bold;color: #999999;margin-right: 10px;margin-left: 10px;"></text>
				<input type="text" value="" placeholder="请输入关键字搜索" style="font-size: 14px;flex: 1;" />
				<view style="width: 1px;height: 14px;background-color: #999999;margin-right: 12px;" />
				<text style="font-size: 14px;color: #007AFF;">搜索</text>
			</view>
		</view>
		<!-- list -->
		<view class="" style="flex: 1;overflow-y: auto;">
			<!-- cell -->
			<view @click="loadDetial(idx)" v-for="idx in 50" style="padding: 12px;background-color: #FFFFFF;">
				<!-- row1 -->
				<view style="display: flex;align-items: center;flex-direction: row;">
					<view class="" style="display: flex;align-items: center;flex: 1;">
						<text style="font-size: 16px;">张三</text>
						<text style="font-size: 12px;color: #999999;margin-left: 12px;">香港大学</text>
					</view>
					<view style="
						display: flex;align-items: center; background-color: #FF000030;
						padding: 3px 10px;border-style: solid;border-width: 1px;border-color: #FF0000;max-width: 90px;">
						<text style="text-align: center;font-size: 12px;color: #FF0000;display: block;">不能联系</text>
					</view>
				</view>
				<!-- row2 -->
				<view style="flex: 1;flex-direction: column;display: flex;overflow: hidden;">
					<text style="font-size: 12px;color: #999999;margin-top: 5px;">来源：校园大使=张三</text>
				</view>
				<!-- row3 -->
				<view
					style="flex: 1;flex-direction: row;display: flex;overflow: hidden;justify-content: space-between;">
					<text style="font-size: 12px;color: #999999;margin-top: 5px;">销售负责人：张三,李四</text>
				</view>
				<!-- row4 -->
				<view
					style="flex: 1;flex-direction: row;display: flex;overflow: hidden;justify-content: space-between;">
					<view style="display: flex;align-items: center;">
						<text style="font-size: 12px;color: #999999;margin-top: 5px;">购买课程数:</text>
						<text style="font-size: 14px;color: #FF0000;margin-top: 5px;font-weight: bold;margin-left: 5px;">3</text>
					</view>
					<view style="display: flex;align-items: center;background-color: #f4f5f7;justify-content: center;padding: 0 10px;border-radius: 20px;">
						<text style="font-size: 12px;color: #999999;margin-right: 5px;display: block;" class="iconfont icon-fujian"></text>
						<text style="font-size: 12px;color: #999999;margin-right: 5px;display: block;">细雨无声</text>
					</view>
				</view>
				<!-- line -->
				<view style="height: 1px;background-color: #ebebeb;margin-top: 10px;" />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			popBack() {
				uni.navigateBack({

				})
			},
			loadDetial(data) {
				uni.navigateTo({
					url: "/pages/personinfo/personinfo-hasbindbusiness"
				})
			}
		}
	}
</script>

<style scoped>
	.page {
		background-color: #f4f5f7;
		flex-direction: column;
		flex: 1;
		overflow: hidden;
		display: flex;
	}
</style>
